package com.liuf.es.config;

import org.springframework.context.annotation.Configuration;

/**
 * ES配置类，创建客户端
 * @author LIUFANG
 */
@Configuration
public class EsConfig {

//    @Value(value = "address")
//    private String address;
//
//    @Value(value = "port")
//    private int port;
//
//    @Bean
//    public TransportClient client(){
//        InetAddress inetAddress = new InetAddress(address,port,)
//        InetSocketTransportAddress inetSocketTransportAddress = new InetSocketTransportAddress(InetAddress.getByName(address),port);
//
//        return null;
//    }

}
